package com.liuyi.mybatisplus.gen.mapper;

import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Mr.fmy
 * @version 1.0.0
 * @Description TODO
 * @createTime 2019/10/17 11:08
 */
public interface TablesMapper {

    @Select("select table_name from information_schema.TABLES where TABLE_SCHEMA=(select database())")
    List<String> listTables();
}
